Skip to content
Snippets Groups Projects
Select Git revision
  • d90ddbbf09fd1eac2cb8aef09496832a1a072291
  • master default
  • labcomm2014_tc31
  • labcomm2014
  • js
  • java_dyn_msg_dec
  • anders.blomdell
  • typeref
  • pragma
  • compiler-refactoring
  • labcomm2013
  • v2014.1
  • v2014.0
  • v2013.0
14 results

cs_codegen.patch

Blame
  • Forked from Anders Blomdell / LabComm
    Source project has a limited visibility.
    labcomm_error.h 924 B
    #ifndef __LABCOMM_ERROR_H__
    #define __LABCOMM_ERROR_H__
    
    enum labcomm_error {
    #define LABCOMM_ERROR(name, description) name ,
    #include "labcomm_error.h"
    #undef LABCOMM_ERROR
    };
    
    struct labcomm_error_handler;
    
    #endif
    
    #ifdef LABCOMM_ERROR
    
    LABCOMM_ERROR(LABCOMM_ERROR_ENC_NO_REG_SIGNATURE, 
    	      "Encoder has no registration for this signature")
    LABCOMM_ERROR(LABCOMM_ERROR_ENC_BUF_FULL,
    	      "The labcomm buffer is full")
    LABCOMM_ERROR(LABCOMM_ERROR_DEC_UNKNOWN_DATATYPE,
    	      "Decoder: Unknown datatype")
    LABCOMM_ERROR(LABCOMM_ERROR_DEC_INDEX_MISMATCH, 
    	      "Decoder: index mismatch")
    LABCOMM_ERROR(LABCOMM_ERROR_DEC_TYPE_NOT_FOUND,
    	      "Decoder: type not found")
    LABCOMM_ERROR(LABCOMM_ERROR_UNIMPLEMENTED_FUNC,
    	      "This function is not yet implemented")
    LABCOMM_ERROR(LABCOMM_ERROR_MEMORY,
    	      "Could not allocate memory")
    LABCOMM_ERROR(LABCOMM_ERROR_USER_DEF,     
    	      "User defined error")
    
    #endif