Skip to content

Commit c34c46b

Browse files
committed
correct headers to make valuator work
1 parent 9304606 commit c34c46b

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

  • src/include/phigs/private

src/include/phigs/private/sinP.h

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*
44
* This file is part of Open PHIGS
55
* Copyright (C) 2014 Surplus Users Ham Society
6+
* (C) 2022-2023 CERN
67
*
78
* Open PHIGS is free software: you can redistribute it and/or modify
89
* it under the terms of the GNU Lesser General Public License as published by
@@ -70,6 +71,7 @@ extern "C" {
7071
(_n)->data.valuator.format = (_o)->data.valuator.format; \
7172
(_n)->data.valuator.low_label = (_o)->data.valuator.low_label; \
7273
(_n)->data.valuator.high_label = (_o)->data.valuator.high_label; \
74+
(_n)->data.valuator.num_boxed = (_o)->data.valuator.num_boxed; \
7375
}
7476

7577
#define SET_DEFAULT_DEV_GENERIC_DATA( _ws, _dev ) \
@@ -223,7 +225,7 @@ void phg_sin_ws_load_event(
223225
* SIN_EVENT_NOT_ENQUED is returned.
224226
* All the events are treated as simultaneous.
225227
*
226-
* Call the event notify proc (if any) anytime an attempt is made
228+
* Call the event notify proc (if any) anytime an attempt is made
227229
* to place events on the queue -- even if the queue has overfloed.
228230
* RETURNS: N/A
229231
*/
@@ -284,7 +286,7 @@ void phg_sin_ws_send_request(
284286
* RETURNS: TRUE or FALSE
285287
*/
286288

287-
int phg_sin_ws_break(
289+
int phg_sin_ws_break(
288290
Sin_input_ws *ws
289291
);
290292

@@ -338,20 +340,20 @@ void phg_sin_ws_flush_event_buffer(
338340
*
339341
* DESCR: Boot valuator device
340342
* RETURNS: N/A
341-
*/
342-
343-
void phg_sin_dev_boot_valuator(
343+
*/
344+
345+
void phg_sin_dev_boot_valuator(
344346
Sin_input_device *dev
345347
);
346348

347349
/*******************************************************************************
348350
* phg_sin_dev_boot_choice
349351
*
350-
* DESCR: Boot choice device
352+
* DESCR: Boot choice device
351353
* RETURNS: N/A
352-
*/
354+
*/
353355

354-
void phg_sin_dev_boot_choice(
356+
void phg_sin_dev_boot_choice(
355357
Sin_input_device *dev
356358
);
357359

@@ -362,7 +364,7 @@ void phg_sin_dev_boot_choice(
362364
* RETURNS: N/A
363365
*/
364366

365-
void phg_sin_dev_boot_string(
367+
void phg_sin_dev_boot_string(
366368
Sin_input_device *dev
367369
);
368370

@@ -412,10 +414,10 @@ void phg_sin_dev_destroy_devices(
412414

413415
/*******************************************************************************
414416
* phg_sin_dev_init_devices
415-
*
417+
*
416418
* DESCR: Initialize devices on workspace
417419
* RETURNS: N/A
418-
*/
420+
*/
419421

420422
void phg_sin_dev_init_devices(
421423
Sin_input_ws *ws
@@ -426,4 +428,3 @@ void phg_sin_dev_init_devices(
426428
#endif /* __cplusplus */
427429

428430
#endif /* _sinP_h */
429-

0 commit comments

Comments
 (0)